<?php
    header("Content-type: text/javascript");
?>
Array.prototype.rotateLeft = function(){
    this.push(this.shift());
}

Array.prototype.rotateRight = function(){
    this.unshift(this.pop());
}
